home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Design
/
WB Collection.iso
/
workbench werkzeuge
/
scherz programme
/
explode
/
config.doc
< prev
next >
Wrap
Text File
|
1996-04-07
|
4KB
|
123 lines
config
------
Documentation for version 1.2b, on September 12th, 1991
by Bruno Costa
DESCRIPTION
Config is a program used to configure an explode executable to
automatically use your custom defaults, including a new path for exploding
the windows.
OPTIONS
usage: config <executable>
The required parameter is the full pathname of a explode v1.2b executable
that will be modified to reflect the new configuration. The configuration
itself is read from stdin in the form of ASCII numbers, with the following
meaning:
<delay> <pattern>
<TL1x> <TL1y> <BR1x> <BR1y>
<TL2x> <TL2y> <BR2x> <BR2y>
...
<TL30x> <TL30y> <BR30x> <BR30y>
[EOF]
<delay> is an integer number ranging from 0 to 2, that has the same
meaning of the corresponding options in explode.
<pattern> is an *hex* number that gives the arbitrary line pattern used
to draw the moving outlines. It is a line pattern as used by the graphics
library function SetDrPt().
The numbers in the form <TL??> are used to describe the path followed by
the Top-Left corner of the outline; <BR??> points form the path for the
Bottom-Right corner. These numbers are given in decimal form, and may be
even negative. Note that the path must have at least one pair of points,
and at most 30 pairs. The numbers for the top-left and bottom-right paths
may be equal (as is the case with the default path), but this is not
necessarily so, since each path is treated separately. The origin for
these paths (point (0,0)) is always the point where the mouse pointer is.
The ending point for each path (either the top-left or the bottom right
corner of the window after it is open) is always point (1024,1024). The
points for the path may be anywhere between these limits, and even outside
them. Note that usually the first point of each path is (0,0) - to start
at the mouse pointer - and the ending point is (1024,1024) - to end just
where the window will open -, but you may try starting or ending the path
somewhere else.
Note that if you omit the numbers describing the path, it will remain the
same and just the other parameters will be changed.
EXAMPLES
To set the explode executable at c: to use a delay of 1, a dotted line
pattern and the default path:
> config <figfile c:executable
where figfile contains:
1 0x5555
0 0 0 0
135 -22 135 -22
265 -30 265 -30
389 -25 389 -25
506 -6 506 -6
615 23 615 23
717 62 717 62
811 111 811 111
895 168 895 168
971 231 971 231
1036 300 1036 300
1090 373 1090 373
1134 449 1134 449
1166 527 1166 527
1186 605 1186 605
1194 683 1194 683
1188 759 1188 759
1169 833 1169 833
1135 902 1135 902
1087 966 1087 966
1024 1024 1024 1024
[EOF] <- simply the end of the file
BUGS
Config should have been more user-friendly.
AUTHOR
The accompanying program and this documentation were written by Bruno
Costa. He can be reached in the following ways:
E-Mail: bruno@brlncc.bitnet (InterNet)
bruno@BRLNCC (BitNet)
Mail: Bruno Costa
Rua Almirante Guilhem 454/102 bloco 1
Leblon - Rio de Janeiro
RJ 22440
BRAZIL
COPYRIGHT
This program is copyrighted by Bruno Costa. It may be freely distributed
if and only if the the documentation and the executables are provided in
original form. It may be included in Public Domain/Shareware compilations,
like the one organized by Fred Fish, as long as just a nominal fee is
charged for each disk (no more than US$10 per disk), and may also be
uploaded to BBS's or network services like BIX and CompuServe.